package com.cnct.generic.dubbo.utils;

/**
 * 键生成工具类
 *
 * @author wangzhen
 */
public class KeyGenerateUtil {

    /**
     * 生成消费者的缓存键
     *
     * @param interfaceName
     * @param group
     * @param version
     * @return
     */
    public static String referenceKey(String interfaceName, String group, String version) {
        return interfaceName + "-" + group + "-" + version;
    }
}
